<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ page import="com.techgene.kanban.domain.*"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<div class="sidebar">
<c:if test="${fn:length(selectedUsersList) gt 0}">
	<h4 class="rad_top">
		<strong>Selected Users</strong>
	</h4>
	</c:if>
	<div class="block listtop clearfixOne rad_bot shadowXtop">
		<ul class="dsq-widget-list">
			<c:forEach var="user" items="${selectedUsersList}" varStatus="status">
				<c:if test="${status.count%2==0 }">
					<li class="dsq-widget-item even">
				</c:if>
				<c:if test="${status.count%2!=0 }">
					<li class="dsq-widget-item odd">
				</c:if>
				<p class="dsq-widget-meta">
					Username :
					<c:out value="${user.username}" />
				</p>
				<p class="dsq-widget-meta">
					Full Name :
					<c:out value="${user.firstName} ${user.lastName }" />
				</p>
				<p class="dsq-widget-meta">
					Role :
					<c:out value="${user.role}" />
				</p>

				<a href="#" onclick='deleteUser(${status.count},"${type}")'>delete</a>
				</li>
			</c:forEach>
		</ul>

	</div>

</div>